﻿using System;
using System.Collections.Generic;
using GolfLeague.Models;

namespace GolfLeague.EditModels
{
    public class SchedulesEditModel
    {
        public IEnumerable<Schedule> Schedules { get; set; }
        public Schedule NewSchedule { get; set; }
        public List<short> yearList { get; set; }
        public List<StandardDropdown> HandicapDropdown { get; set; }

        public SchedulesEditModel()
        {
            yearList = new List<short>(50);
            for (int year = DateTime.Now.Year - 10; year < DateTime.Now.Year + 40; year++) yearList.Add((short)year);
        }
    }

}